From 4fd5ad2f07645363ecf80a0036b5b76c98d13ff8 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Fri, 26 Feb 2016 19:01:19 +0100 Subject: [PATCH] Adwaita: notebook tab sizing fix --- gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 162508cfd4..5691a48cc0 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1988,6 +1988,9 @@ notebook { } } } + + &.top tab { padding-bottom: 4px; } + &.bottom tab { padding-top: 4px; } } > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 8df37ad186..5282bb29d8 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -2206,6 +2206,10 @@ notebook > header { margin-bottom: 4px; } notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { border-style: solid none; } + notebook > header.top tab { + padding-bottom: 4px; } + notebook > header.bottom tab { + padding-top: 4px; } notebook > stack:not(:only-child) { background-color: #292929; } notebook > stack:not(:only-child):backdrop { diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 887248c356..d8de88c653 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -2216,6 +2216,10 @@ notebook > header { margin-bottom: 4px; } notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { border-style: solid none; } + notebook > header.top tab { + padding-bottom: 4px; } + notebook > header.bottom tab { + padding-top: 4px; } notebook > stack:not(:only-child) { background-color: #ffffff; } notebook > stack:not(:only-child):backdrop { -- 2.30.2